package cn.com.oceansoft.osc.query.controller;

import cn.ucox.web.framework.view.ApiResult;
import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import static org.springframework.web.bind.annotation.RequestMethod.GET;

@Controller
@RequestMapping( value = "QueryMain")
@Api(value = "内网测试接口", description = "内网测试接口")
public class TestController {

    @ResponseBody
    @RequestMapping(value = "version", method = GET)
    public ApiResult version()
    {
        String version="1.0.0";
        return  new ApiResult<Object>().success(version);
    }
}
